<template>
	<view>
		Home {{a}}
		<button @click="add">增加</button>
	</view>
</template>

<script setup>
	import	{ref} from "vue"
	
	const a = ref(1)
	const add = ()=>{
		a.value++
		console.log("增加了")
	}
</script>

<style lang="scss">

</style>
